package com.zzl.bonds.ticket.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzl.bonds.ticket.dao.SignatureInformationDao;
import com.zzl.bonds.ticket.entity.SignatureInformationEntity;
import com.zzl.bonds.ticket.service.SignatureInformationService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  hyt
 */
@Service
public class SignatureInformationServiceImpl extends ServiceImpl<SignatureInformationDao, SignatureInformationEntity> implements SignatureInformationService {

    @Override
    public List<SignatureInformationEntity> listByTransferId(String transferId) {
        QueryWrapper<SignatureInformationEntity> queryWrapper=new QueryWrapper<>();
        queryWrapper.eq("transfer_id",transferId);
        return this.list(queryWrapper);
    }
}
